package com.mathlearning.auth.repository;

import com.mathlearning.auth.entity.LearningChapter;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface LearningChapterRepository extends JpaRepository<LearningChapter, Long> {
    List<LearningChapter> findByCourseIdOrderBySortOrderAsc(Long courseId);
}




